CC = gcc
C_NAME = 4g
OBJDIR = /home/nbiot/
LIBPATH_A = ${OBJDIR}pengjiawei/sqlite3/lib/
LIBPATH_B = ${OBJDIR}pengjiawei/libxml2/lib/
LIBPATH_C = ${OBJDIR}pengjiawei/iniparser-3.1/
LIB_A += -L ${LIBPATH_A} -lsqlite3 -lm -lpthread
LIB_B += -L ${LIBPATH_B} -lxml2 -lmosquitto
LIB_C += -L ${LIBPATH_C} -liniparser
CLIENT_HF_A += -I ${OBJDIR}pengjiawei/sqlite3/include/
CLIENT_HF_B += -I ${OBJDIR}pengjiawei/libxml2/include/libxml2
all:
    @echo "end"
test:
    #客户端执行(@可关闭本条语句)
4g:
    ${CC} ${C_NAME}_*.c logger.c cJSON.c database.c -o 4g_sms_modem ${CLIENT_HF_A} ${LIB_A} ${CLIENT_HF_B} ${LIB_B} ${LIB_C}